using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Smart.Admin.Domain.Model.Entity
{
    [Table("department")]
	public class DepartmentEntity
    {
        
        /// <summary>
        /// 主键id
        /// </summary>
        public long Id
        {
            get;
            set;
        }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 部门负责人id
        /// </summary>
        public long ManagerId { get; set; }

        /// <summary>
        /// 部门的父级id
        /// </summary>
        public long ParentId { get; set; }

        /// <summary>
        /// 部门排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public System.DateTime CreateTime
        {
            get;
            set;
        }
        /// <summary>
        /// 更新时间
        /// </summary>
        public System.DateTime UpdateTime
        {
            get;
            set;
        }
        
    }
}